package com.gitee.wsl.platform.hardware

import platform.UIKit.UIApplication

actual class ScreenWakeLock  : IKmpScreenWakeLock {

    actual override suspend fun acquire() {
        UIApplication.Companion.sharedApplication.setIdleTimerDisabled(true)
    }

    actual override suspend fun release() {
        UIApplication.Companion.sharedApplication.setIdleTimerDisabled(false)
    }
}